package com.un.ebs.memorial.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/3/12 10:12
 */
@Getter
public enum MemberTypeEnum implements IEnum {

    Admin(0, "创建者"),
    Friend(1, "好友"),
    Other(9, "游客");


    MemberTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @EnumValue
    private final int code;

    private final String desc;
}
